Use the same function as in updateiconcache.c. (spotted by Morten
authorMatthias Clasen <mclasen@redhat.com>
Sat, 9 Apr 2005 02:12:34 +0000 (02:12 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 9 Apr 2005 02:12:34 +0000 (02:12 +0000)
2005-04-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconcache.c (icon_name_hash): Use the same function
as in updateiconcache.c.  (spotted by Morten Welinder)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkiconcache.c

index 97f8f9a3dd353884044f316ade4568edc3650b83..5b7ed5d8b2edc48a1de12e08599b22411d6640cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkiconcache.c (icon_name_hash): Use the same function 
+       as in updateiconcache.c.  (spotted by Morten Welinder)
+
 2005-04-08  Carl Worth  <cworth@cworth.org>
 
        * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
index 97f8f9a3dd353884044f316ade4568edc3650b83..5b7ed5d8b2edc48a1de12e08599b22411d6640cd 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkiconcache.c (icon_name_hash): Use the same function 
+       as in updateiconcache.c.  (spotted by Morten Welinder)
+
 2005-04-08  Carl Worth  <cworth@cworth.org>
 
        * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
index 97f8f9a3dd353884044f316ade4568edc3650b83..5b7ed5d8b2edc48a1de12e08599b22411d6640cd 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkiconcache.c (icon_name_hash): Use the same function 
+       as in updateiconcache.c.  (spotted by Morten Welinder)
+
 2005-04-08  Carl Worth  <cworth@cworth.org>
 
        * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
index 20166d8a64797adf3180da59a72737db38dbac3e..d52251c5a3021d9085efa979a82e67b14a49d2ea 100644 (file)
@@ -223,8 +223,8 @@ _gtk_icon_cache_has_directory (GtkIconCache *cache,
 static guint
 icon_name_hash (gconstpointer key)
 {
-  const char *p = key;
-  guint h = *p;
+  const signed char *p = key;
+  guint32 h = *p;
 
   if (h)
     for (p += 1; *p != '\0'; p++)